include ../Makefile.param

CFLAGS += -DVPI_TEST
CFLAGS += $(INCS)

SRCS += $(wildcard *.c)
OBJS := $(SRCS:%.c=%.o)

TEST = test_vpi

.PHONY:all clean

all:$(TEST)

$(TEST):$(OBJS)
	$(CC) $(CFLAGS) -o $@ $^

clean:
	@rm -rf $(OBJS) $(TEST)
